package com.topvision.repository;

import com.topvision.common.utils.repository.BaseRepository;
import com.topvision.domain.SysProduct;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface SysProductRepository extends JpaRepository<SysProduct,Long> {
    Optional<List<SysProduct>> findByParentId(Long parentId);
}
